package com.haiqi.modules.main.bean;

/**
 * Created by hythzx on 2016/5/20.
 */
public class ResponseBean {
    /**
     * success : true
     * token : 6a31bcfc-5804-495a-b1dc-4f61688b4e7b
     * user : {"cookie":{"userId":"0f06edd5-cc33-4b08-a730-72a0d94d1101"},"createby":"hythzx","createdate":"2016-03-31 10:05:28","delflag":"N","email":"admin@hythzx.com","id":"0f06edd5-cc33-4b08-a730-72a0d94d1101","idcode":"320821199101134915","isactive":"Y","loginflag":"Y","loginname":"hythzx","mobile":"17092561904","name":"赵远","nameauth":"N","officeid":"14ce5c5e-a7f4-4dcb-9335-7a5fd0e9738d","phone":"18551831904","photo":"http://cloud.zmsa.com.cn:8080/yihang/upload/9ad50cb1-47cc-4853-8245-9c84ae8cd490.jpg","remarks":"ewfewewwefewf","usertype":"0"}
     */

    private boolean success;
    private String token;
    private String response;
    /**
     * cookie : {"userId":"0f06edd5-cc33-4b08-a730-72a0d94d1101"}
     * createby : hythzx
     * createdate : 2016-03-31 10:05:28
     * delflag : N
     * email : admin@hythzx.com
     * id : 0f06edd5-cc33-4b08-a730-72a0d94d1101
     * idcode : 320821199101134915
     * isactive : Y
     * loginflag : Y
     * loginname : hythzx
     * mobile : 17092561904
     * name : 赵远
     * nameauth : N
     * officeid : 14ce5c5e-a7f4-4dcb-9335-7a5fd0e9738d
     * phone : 18551831904
     * photo : http://cloud.zmsa.com.cn:8080/yihang/upload/9ad50cb1-47cc-4853-8245-9c84ae8cd490.jpg
     * remarks : ewfewewwefewf
     * usertype : 0
     */

    private UserBean user;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getResponse() {
        return response;
    }

    public void setResponse(String response) {
        this.response = response;
    }

    public UserBean getUser() {
        return user;
    }

    public void setUser(UserBean user) {
        this.user = user;
    }

    public static class UserBean {
        private String email;
        private String id;
        private String idcode;
        private String isactive;
        private String loginflag;
        private String loginname;
        private String mobile;
        private String name;
        private String nameauth;
        private String officeid;
        private String phone;
        private String photo;
        private String remarks;
        private String usertype;

        public String getEmail() {
            return email;
        }

        public void setEmail(String email) {
            this.email = email;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getIdcode() {
            return idcode;
        }

        public void setIdcode(String idcode) {
            this.idcode = idcode;
        }

        public String getIsactive() {
            return isactive;
        }

        public void setIsactive(String isactive) {
            this.isactive = isactive;
        }

        public String getLoginflag() {
            return loginflag;
        }

        public void setLoginflag(String loginflag) {
            this.loginflag = loginflag;
        }

        public String getLoginname() {
            return loginname;
        }

        public void setLoginname(String loginname) {
            this.loginname = loginname;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getNameauth() {
            return nameauth;
        }

        public void setNameauth(String nameauth) {
            this.nameauth = nameauth;
        }

        public String getOfficeid() {
            return officeid;
        }

        public void setOfficeid(String officeid) {
            this.officeid = officeid;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getPhoto() {
            return photo;
        }

        public void setPhoto(String photo) {
            this.photo = photo;
        }

        public String getRemarks() {
            return remarks;
        }

        public void setRemarks(String remarks) {
            this.remarks = remarks;
        }

        public String getUsertype() {
            return usertype;
        }

        public void setUsertype(String usertype) {
            this.usertype = usertype;
        }
    }
}
